package com.example.builder;

import org.junit.jupiter.api.Test;

/**
 * @Description TODO
 * @Date 2021/10/27 11:00
 * @Author ZhangJi
 * @Version 1.0
 */
public class BuilderPatternTest {

  @Test
  public void builderPatternTest(){
    MealBuilder mealBuilder = new MealBuilder();
    Meal meal1 = mealBuilder.meal1();
    float cost = meal1.getCost();
    System.out.println(cost);
    meal1.showItems();
  }

}
